import { createRouter,createWebHashHistory} from 'vue-router'
const router=createRouter({
    history:createWebHashHistory(),
    routes:[
        {name: "index", path: "/index", component: () => import("../pages/index.vue") },
        { name: "login", path: "/", component: () =>import("../pages/login.vue")}
    ]
})
export default router